package com.voice.server.service;


import com.voice.server.entity.Function;
import com.voice.server.output.TreeNode;
import com.wangjiacai.hqlQuery.service.BaseService;

import java.util.List;
import java.util.Map;

public interface FunctionService extends BaseService {

    List<Map> getFunctionTreeMap();

    List<TreeNode> getTreeNode();

    Function findById(String functionId);

    void deleteById(String functionId);

    Function addFunction(Function function);

    Function updateFunction(Function function);

    List<String> findBhListByRoleId(String roleId);
}
